PM3.6 - Donkey Kong - Common Subroutine 0x9019a790

  1. Subroutine(0x1054c)
  2. Subroutine(0x102f4)
  3. Return
  4. CreateInterrupt { interrupt_id: None, action: CaptureJump, requirement: (ButtonMashingOrStatusExpiredSleepBuryFreeze) }
  5. PreviousInterruptAddRequirement((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc45)))
  6. PreviousInterruptAddRequirement((LongtermAccessFloat (0x6) Equal scalar(-5)))
  7. CreateInterrupt { interrupt_id: Some(10036), action: CaptureCut, requirement: (ButtonMashingOrStatusExpiredSleepBuryFreeze) }
  8. PreviousInterruptAddRequirement((LongtermAccessFloat (0x6) Equal scalar(-5)))
  9. Return
  10. if ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc45)))
    1. CreateInterrupt { interrupt_id: None, action: CaptureJump, requirement: (Always) }
  11. ChangeSubactionRestartFrame(CaptureCut)
  12. Return
  13. if ((InternalConstantInt(PreviousAction) Equal scalar(64)))
    1. FloatVariableSet { variable: RandomAccessFloat (0x7), value: InternalConstantInt (0xbcf) }
    2. FloatVariableMultiply { variable: RandomAccessFloat (0x7), value: 6 }
    3. FloatVariableAdd { variable: RandomAccessFloat (0x7), value: 0.48 }
    4. UnknownEvent { namespace: 0xe, code: 0x8, unk1: 0x0, arguments: [Scalar(0.0), Scalar(0.0), Scalar(0.0), Value(1)] }
    5. AddVelocity { x_vel: Constant(-2.0), y_vel: Variable(RandomAccessFloat(Address(7))) }
  14. ChangeSubactionRestartFrame(CaptureJump)
  15. Return